<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>登录</title>

		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<script type="text/javascript" src="<%=basePath%>scripts/cookie.js"></script>
<title>无标题文档</title>

</head>

<body>
<div class="logset">
<c:choose>
	<c:when test="${userInfo.id != null && userInfo.category == '2' }">
         <a href="<%=basePath%>user/qiantanExit.action" >退出登录</a><a href="<%=basePath%>member/showMemInfo.action" >欢迎${userInfo.username}</a>  
    </c:when>
<c:otherwise>
         <a href="<%=basePath %>web/login/login.jsp" title="登录">会员登录</a><a href="<%=basePath %>web/register/register.jsp">新用户注册</a>
</c:otherwise>
</c:choose>
</div>
<div class="content"><a href="<%=basePath%>"><img src="<%=basePath%>web/resources/images/findCipher_03.png" width="213" height="111" /></a></div>

</body>
</html>